<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%--
  Created by IntelliJ IDEA.
  User: Liutong
  Date: 2015/12/7
  Time: 15:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div class="container-breadcrumb">
  <div class="row ">
    <div class="col-sm-12">
      <ol class="breadcrumb">
        <li><a href="#"><span class="glyphicon glyphicon-home"></span></a></li>
        <li class="active"><s:message text="会员统计"/></li>
      </ol>
    </div>
  </div><!--/.row-->
</div>

<div id="container-content" class="container-content">
  <div class="panel panel-default report-container">
      <div class="panel-heading">
        <h4>用户ID: <span>${customer.id}</span>&nbsp;&nbsp; &nbsp;&nbsp;<span>${customer.telphone}</span>&nbsp;&nbsp; &nbsp;&nbsp;<span>${customer.nick}</span></h4>
      </div>
      <div class="panel-body">
        <form:form id="myForm" modelAttribute="queryHistory" method="get" cssClass="row products-condition">
          <form:hidden path="currentPage" id="currentPage"/>
          <form:hidden path="pageSize" id="pageSize"/>
          <input id="total" type="hidden" value="${dataList.totalCount}"/>
          <input type="hidden" id="id" name="id" value="${id}" />
        </form:form>
        <table class="table table-bordered">
          <thead>
          <tr>
            <th>手机号</th>
            <th>地址</th>
            <th>其他方式</th>
          </tr>
          </thead>
          <tbody>
          <c:forEach items="${dataList.data}" var="history">
            <tr>
              <td>${history.telphone}</td>
              <td>${history.address}</td>
              <td></td>
            </tr>
          </c:forEach>
          </tbody>
        </table>
        <div class="row">
          <div id="paginationInfo" class="col-md-4 pagination-info"></div>
          <div id="pagination" class="col-md-8"></div>
        </div>
      </div>
    </div>
  </div>


<script src="${pageContext.request.contextPath}/resources/common/js/bootstrap-paginator.js"></script>
<script src="${pageContext.request.contextPath}/resources/js/common/paginator.js"></script>
